<?php
return [
    'URL_ROUTE_RULES' => [
        // Index controller.
        'p/:pid\d$' => ['index/index'],
        'c/:cid\d$' => ['index/index'],
        'c/:cid\d/p/:pid\d$' => ['index/index'],

        // Bbs controller.
        ':bid\d' => ['bbs/index'],
        ':bid\d/p/:p' => ['bbs/index'],
        ':bid\d/group/:gid\d$' => ['bbs/index'],

        'edit/:bid\d' => ['bbs/edit'],
        'publish/:bid\d' => ['bbs/publish'],

        'topic/:tid\d' => ['tie/index'],
        'topic/:tid\d/p/:p' => ['tie/index'],

        'org/:bid\d' => ['org/index'],
        'manage/:bid\d' => ['org/manage'],
        'review/:bid\d$' => ['org/review'],
        'review/:bid\d/d/:did\d$' => ['org/review'],
        'review/:bid\d/d/:did/p/:pid\d$' => ['org/review'],
        'log/:bid\d' => ['org/log'],
        'apply/:bid\d' => ['org/apply'],
        'createDoc/:bid\d$' => ['org/createdoc'],
        'set/:bid\d$' => ['org/set'],

        'setavatar$' => ['org/setavatar'],
        'setcate$' => ['org/setcate'],

        'reply/:tid$' => ['tie/reply'],

    ]
];